﻿@model IList<ProductTagModel>
@using Nop.Web.Models.Catalog;
@if (Model.Count > 0)
{
    <div class="product-tags-box">
        <strong> @T("Products.Tags")</strong>
        <ul class="list-unstyled clearfix">
            @for (int i = 0; i < Model.Count; i++)
            {
                <li class="tag">
                    <a href="@Url.RouteUrl("ProductsByTag", new { productTagId = Model[i].Id, SeName = Model[i].SeName })" class="producttag">
                        @Model[i].Name
                    </a> <span>@T("Products.Tags.Count", Model[i].ProductCount)</span>
                </li>
                if (i != Model.Count - 1)
                {
                    <li class="separator">,</li>
                }
            }
        </ul>
    </div>

}